/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Waf.Model
{

    /// <summary>
    ///  domainMainConfig
    /// </summary>
    public class DomainMainConfig
    {

        ///<summary>
        /// 域名
        ///</summary>
        public string Domain{ get; set; }
        ///<summary>
        /// cname域名
        ///</summary>
        public string Cname{ get; set; }
        ///<summary>
        /// 绑定的证书名称
        ///</summary>
        public string CertName{ get; set; }
        ///<summary>
        /// 使用协议，[&quot;http&quot;,&quot;https&quot;]
        ///</summary>
        public List<string> Protocols{ get; set; }
        ///<summary>
        /// ssl协议，[&quot;TLSv1&quot;,&quot;TLSv1.1&quot;,&quot;TLSv1.2&quot;,&quot;SSLv2&quot;,&quot;SSLv3&quot;]
        ///</summary>
        public List<string> SslProtocols{ get; set; }
        ///<summary>
        /// 前置代理，1：使用 0：不使用
        ///</summary>
        public int? PureClient{ get; set; }
        ///<summary>
        /// 协议状态，0：正常
        ///</summary>
        public int? HttpStatus{ get; set; }
        ///<summary>
        /// https证书绑定状态
        ///</summary>
        public int? HttpsCertUpdateStatus{ get; set; }
        ///<summary>
        /// 国密https证书绑定状态
        ///</summary>
        public int? GmHttpsCertUpdateStatus{ get; set; }
        ///<summary>
        /// 是否支持国密证书
        ///</summary>
        public int? GmCertSupport{ get; set; }
        ///<summary>
        /// 防护状态，0：关闭 1：开启
        ///</summary>
        public AntiStatus AntiStatus{ get; set; }
        ///<summary>
        /// 1：bypass 0：防护模式
        ///</summary>
        public int? DisableWaf{ get; set; }
        ///<summary>
        /// 近七天攻击详情
        ///</summary>
        public AttackInfo AttackInfo{ get; set; }
        ///<summary>
        /// 网站dns配置
        ///</summary>
        public DnsStatus DnsStatus{ get; set; }
        ///<summary>
        /// cname解析状态。0为解析到VIP，1为解析到回源地址
        ///</summary>
        public int? EnableCname2Rs{ get; set; }
        ///<summary>
        /// cname解析状态。0为解析到VIP，1为解析到回源地址
        ///</summary>
        public int? EnableIpv6{ get; set; }
        ///<summary>
        /// 域名的地域信息，类型是map[string]regionVipInfo
        ///</summary>
        public DomainRegionInfo Region{ get; set; }
    }
}
